package com.oocl.ajax.service.impl;

import java.util.List;

import com.oocl.ajax.dao.AreaDao;
import com.oocl.ajax.factory.DaoFactory;
import com.oocl.ajax.factory.ServiceFactory;
import com.oocl.ajax.pojo.Area;
import com.oocl.ajax.service.AreaService;

/**
 * @description: 
 * @author  XIEMI2
 * @date Aug 1, 2017 9:34:37 PM
 * @version 1.0
 */
public class AreaServiceImpl implements AreaService{

	private AreaDao areaDao;
	
	
	
	public AreaServiceImpl() {
		areaDao = DaoFactory.getAreaDao();
	}



	@Override
	public List<Area> queryByName(String name) {
		return areaDao.queryByName(name);
	}

}


